//发送验证码相关
const axios = require('axios');
const sendMsgCode = (phone,randCode) => {
    return axios({
        method: 'post',
        url: 'https://api-v2.xdclass.net/send_sms',
        data: {
          appid: "8QKL9paSzdCrKp1Kwq",
          appSecret: "vDzncRyAk6xo9ieMUJxc3SCLNYtyGpcY",
          code: randCode,
          phoneNum: phone,
          templateCode: "SMS_168781429"
        }
    })
}
module.exports = sendMsgCode